/* 文章容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
    padding: 30px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

/* 文章头部 */
.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EBEEF5;
}

.article-header h1 {
    font-size: 28px;
    font-weight: bold;
    color: #303133;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #909399;
    font-size: 14px;
}

.article-meta span {
    margin-right: 15px;
}

/* 文章内容 */
.article-content {
    line-height: 1.8;
    color: #303133;
    margin-bottom: 40px;
}

/* 评论区 */
.comment-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #EBEEF5;
}

.comment-section h3 {
    font-size: 20px;
    color: #303133;
    margin-bottom: 20px;
}

/* 评论表单 */
.comment-form {
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #DCDFE6;
    border-radius: 4px;
    resize: vertical;
    margin-bottom: 10px;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #409EFF;
}

.submit-btn {
    padding: 8px 20px;
    background: #409EFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #66b1ff;
}

/* 评论列表 */
.comment-list {
    margin-top: 20px;
}

.comment-item {
    padding: 15px;
    border-bottom: 1px solid #EBEEF5;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
    color: #303133;
}

.comment-time {
    color: #909399;
    font-size: 12px;
}

.comment-content {
    color: #606266;
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    color: #909399;
    padding: 20px;
}

/* 喜欢按钮 */
.like-btn {
    padding: 5px 15px;
    background: #fff;
    border: 1px solid #DCDFE6;
    border-radius: 4px;
    color: #606266;
    cursor: pointer;
    transition: all 0.3s;
}

.like-btn:hover {
    color: #409EFF;
    border-color: #409EFF;
}

.like-btn.liked {
    color: #F56C6C;
    border-color: #F56C6C;
} 